From 975efe17970a9a7a4c279be55677097a7b351544 Mon Sep 17 00:00:00 2001 From: Naresh Bhat Date: Tue, 24 Nov 2015 12:18:02 +0100 Subject: [PATCH] acpi/NUMA: build NUMA for x86 only NUMA is currently not supported for ARM in Xen. Add a new compilation option HAS_NUMA for NUMA. Configure and build NUMA only for x86 architecture now. Signed-off-by: Naresh Bhat Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao --- xen/arch/x86/Rules.mk | 1 + xen/drivers/acpi/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index 42de328468..5b8eaedb91 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -3,6 +3,7 @@ HAS_IOPORTS := y HAS_ACPI := y +HAS_NUMA := y HAS_VGA := y HAS_VIDEO := y HAS_CPUFREQ := y diff --git a/xen/drivers/acpi/Makefile b/xen/drivers/acpi/Makefile index bbb06a7468..3bb626e578 100644 --- a/xen/drivers/acpi/Makefile +++ b/xen/drivers/acpi/Makefile @@ -3,7 +3,7 @@ subdir-y += utilities subdir-$(x86) += apei obj-bin-y += tables.init.o -obj-y += numa.o +obj-$(HAS_NUMA) += numa.o obj-y += osl.o obj-y += pmstat.o -- 2.30.2